export interface Permissions {
[property: string]: any;
id:string;
permission_name:string;
level?:string;
icon?:string;
module?:string;
component?:string;
redirect?:string;
type:number;
hidden:number;
weight:number;
creator?:string;
created_at:Date;
updated_at:Date;
deleted_at?:Date;
keepalive:number;
path:string;
title?:string;
parent_id?:string;
meta?:string;
method?:string;
groups:Group[];
}

interface Group {
  group_id: string;
}

export interface PermissionsResponse {
  [property: string]: any;
  currentPage: number;
  permissionss: Permissions[];
  total: number;
}